package com.txc.openfeign.common.pay.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 支付宝生活缴费-用户费用明细
 * @author tao
 */
@Data
public class ResBaseVO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /**
     * 状态码
     */
    private String rtnCode;
    /**
     * 状态描述
     */
    private String rtnMsg;
    
    public ResBaseVO() {
        super();
        this.rtnCode = ResponseCodeEnum.CODE_9999.getValue();
        this.rtnMsg = ResponseCodeEnum.CODE_9999.getName();

    }
    public ResBaseVO(String rtnCode, String rtnMsg) {
        super();
        this.rtnCode = rtnCode;
        this.rtnMsg = rtnMsg;
    }

    public ResBaseVO(ResponseCodeEnum rtnCodeEnum) {
        super();
        this.rtnCode = rtnCodeEnum.getValue();
        this.rtnMsg = rtnCodeEnum.getName();
    }
    
}
